package top.jiangqiang.qyblog.core.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import top.jiangqiang.qyblog.core.base.entity.BaseEntityVo;
import top.jiangqiang.qyblog.core.domain.StorageProperties;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author jiangqiang
 * @date 2022-11-29
 */
@Accessors(chain = true)
@Data
@Schema(name = "存储器相关接口响应结果", description = "")
public class StorageVo extends BaseEntityVo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "存储器配置名")
    private String name;

    @Schema(description = "存储器类型，例如cos，oss")
    private String type;

    @Schema(description = "存储器配置")
    private StorageProperties config;

    @Schema(description = "是否作为默认存储器使用")
    private Boolean active;

}
